const remote = require('electron').remote;
let btndata1 = document.querySelector("#btndata1");

btndata1.onclick = ()=>{
          remote.getGlobal('shareObject').name = '设置公共数据的nname' ;
          console.log(`this is btndata1`);
}
